package com.yao.shop.mapper;

import com.yao.shop.pojo.ShopOrderItem;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface ShopOrderItemMapper {
    void saveBatch(List<ShopOrderItem> shopOrderItemList);

    List<ShopOrderItem> getByOrderIds(List<Long> orderIds);

    List<ShopOrderItem> getByOrderId(Long id);

    List<ShopOrderItem> getByIds(List<Long> orderItemIds);
}
